package com.fujitsu.nanjing.tieba.dao;

import com.fujitsu.nanjing.tieba.ibator.CoreAttach;
import com.fujitsu.nanjing.tieba.ibator.CoreAttachCriteria;
import java.util.List;

public interface CoreAttachDAO {
    int countByExample(CoreAttachCriteria example);

    int deleteByExample(CoreAttachCriteria example);

    int deleteByPrimaryKey(Integer attachid);

    Integer insert(CoreAttach record);

    Integer insertSelective(CoreAttach record);

    List<CoreAttach> selectByExample(CoreAttachCriteria example);

    CoreAttach selectByPrimaryKey(Integer attachid);

    int updateByExampleSelective(CoreAttach record, CoreAttachCriteria example);

    int updateByExample(CoreAttach record, CoreAttachCriteria example);

    int updateByPrimaryKeySelective(CoreAttach record);

    int updateByPrimaryKey(CoreAttach record);
}